from typing import *


class Solution:

    def canMakeSubsequence(self, str1: str, str2: str) -> bool:

        p = 0
        for v in str1:
            if p < len(str2) and v == str2[p] or chr((ord(v) - ord('a') + 1) % 26 +
                                   ord('a')) == str2[p]:
                p += 1

        return p == len(str2)
    
s = Solution()
print(s.canMakeSubsequence(str1 = "abc", str2 = "ad"))


print('a', ord('a'))
